
$(function(){	
    
	 var index1=0;
     var lens1 = $(".dyna3 dt ul li").length;
     
	 $(".ups").click(function(){
		index1=(index1==0)?0:index1-1;
		channels(index1,".dyna3 dt ul",760);
	 });	
	 $(".downs").click(function(){
		index1=(index1+1==lens1)?0:index1+1;
		channels(index1,".dyna3 dt ul",760);
	 });	
	 
	 
	 
});

function channels(indexss,ids,channel_s){
		lefts=-indexss*channel_s+"px";
		$(ids).animate({left:lefts});
		    
}	
